export type MiniState = { x: number; z: number; dx: number; dz: number };

export const miniState: MiniState = { x: 0, z: 0, dx: 0, dz: 1 };

export function setMiniState(partial: Partial<MiniState>) {
  Object.assign(miniState, partial);
}
